package com.hxkj.service.article;

import com.hxkj.domain.po.Tags;
import com.platform.common.domain.result.ResultPageStruct;
import com.platform.common.domain.to.PageTo;

import java.util.List;

/**
 * @InterfaceName TagsService
 * @Description TODO
 * @Author Mr.zheng
 * @Date 2018/6/7 11:59
 * @Version 1.0
 */
public interface TagsService {
    /**
    * @author Mr.zheng
    * @Description saveTags 新增tags标签
    * @Date 12:51 2018/6/7
    * @Param [tags]
    * @return com.platform.common.domain.result.ResultMessageStruct
    **/
    void saveTags(Tags tags)throws Exception;

    
    /**
    * @author Mr.zheng
    * @Description getTagsList 获取tags列表
    * @Date 13:05 2018/6/7
    * @Param [tags, pageParam]
    * @return com.github.pagehelper.PageInfo<com.hxkj.domain.po.Tags>
    **/
    ResultPageStruct<Tags> getTagsList(Tags tags,PageTo pageParam) throws Exception;

    /**
    * @author Mr.zheng
    * @Description removerTags 删除标签tags
    * @Date 13:39 2018/6/7
    * @Param [tags]
    * @return com.platform.common.domain.result.ResultMessageStruct
    **/
    void removeTags(Tags tags)throws Exception;

    /**
    * @author Mr.zheng
    * @Description modifyTags 修改标签tags
    * @Date 13:54 2018/6/7
    * @Param [tags]
    * @return com.platform.common.domain.result.ResultMessageStruct
    **/
    void modifyTags(Tags tags)throws Exception;

    /**
    * @author Mr.zheng
    * @Description getShowTagsList 获取tags标签下拉框
    * @Date 15:12 2018/6/29
    * @Param [tags]
    * @return java.util.List<com.hxkj.domain.po.Tags>
    **/
    List<Tags> getShowTagsList(Tags tags)throws Exception;

    /**
    * @author Mr.zheng
    * @Description getHotTagsList 获取热词标签
    * @Date 11:48 2018/9/5
    * @Param [tags, pageParam]
    * @return com.platform.common.domain.result.ResultPageStruct<com.hxkj.domain.po.Tags>
    **/
    ResultPageStruct<Tags> getHotTagsList(Tags tags, PageTo pageParam) throws Exception;
}
